export const option = function () {
  return {
    refreshBtn: true,
    columnBtn: true,
    border: true,
    stripe: true,
    index: true,
    editBtn: true,
    delBtn: true,
    align: 'center',
    addBtn: true,
    menu: true,
    labelWidth: 160,
    indexLabel: '序号',
    column: [
      {
        label: '主要产品名称',
        prop: 'mainProductsA',
        rules: [
          {
            required: true,
            message: '请输入主要产品名称',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '年最大产量',
        prop: 'yearMaxCapacityA',
        rules: [
          {
            required: true,
            message: '请输入年最大产量',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '目前产能使用率(%)',
        prop: 'nowUserRatioA',
        precision: 2,
        type: 'number',
        rules: [
          {
            required: true,
            message: '请输入目前产能使用率(%)',
            trigger: 'blur'
          }
        ]
      },
      {
        label: '前年销售额(万元)',
        prop: 'salesPreviousYearA',
        precision: 4,
        type: 'number'
      },
      {
        label: '去年销售额(万元)',
        prop: 'salesLastYearA',
        precision: 4,
        type: 'number'
      },
      {
        label: '该产品主要客户前3',
        prop: 'mainCustomersA'
      }
    ]
  }
}